package com.hm.health.entity;

/**
 * Created by chenshi on 2020/4/8.
 */

public class DeviceConfigBean {
    private int mId;
    private boolean mIsSelected;
    private String mFileName;
    private int mStatus;
    private int mProgress;

    public static final int STATUS_READY = 0;
    public static final int STATUS_SENDING = 1;
    public static final int STATUS_SUCCESS = 2;
    public static final int STATUS_ERROR = 3;

    public DeviceConfigBean(int id, String fileName) {
        mId = id;
        mFileName = fileName;
        mStatus = STATUS_READY;
    }

    public int getId() {
        return mId;
    }

    public void setId(int id) {
        mId = id;
    }

    public boolean isSelected() {
        return mIsSelected;
    }

    public void setSelected(boolean selected) {
        mIsSelected = selected;
    }

    public String getFileName() {
        return mFileName;
    }

    public void setFileName(String fileName) {
        mFileName = fileName;
    }

    public int getStatus() {
        return mStatus;
    }

    public void setStatus(int status) {
        mStatus = status;
    }

    public int getProgress() {
        return mProgress;
    }

    public void setProgress(int progress) {
        mProgress = progress;
    }
}
